/// ChangePinDto
class ChangePinDto {
  /// 新PIN码
  final String newPin;
  /// 更新PIN码-验证码
  final String verifyCode;

  ChangePinDto({
    required this.newPin,
    required this.verifyCode,
  });

  Map<String, dynamic> toJson() {
    final Map<String, dynamic> data = <String, dynamic>{};
    data['newPin'] = newPin;
    data['verifyCode'] = verifyCode;
    return data;
  }

  factory ChangePinDto.fromJson(Map<String, dynamic> json) {
    return ChangePinDto(
      newPin: json['newPin'],
      verifyCode: json['verifyCode'],
    );
  }
}